<?php
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/experimental/experimental.proto

namespace Google\Api;

use Google\Protobuf\Internal\GPBType;
use Google\Protobuf\Internal\RepeatedField;
use Google\Protobuf\Internal\GPBUtil;

/**
 * Experimental service configuration. These configuration options can
 * only be used by whitelisted users.
 *
 * Generated from protobuf message <code>google.api.Experimental</code>
 */
class Experimental extends \Google\Protobuf\Internal\Message
{
    /**
     * Authorization configuration.
     *
     * Generated from protobuf field <code>.google.api.AuthorizationConfig authorization = 8;</code>
     */
    private $authorization = null;

    public function __construct() {
        \GPBMetadata\Google\Api\Experimental\Experimental::initOnce();
        parent::__construct();
    }

    /**
     * Authorization configuration.
     *
     * Generated from protobuf field <code>.google.api.AuthorizationConfig authorization = 8;</code>
     * @return \Google\Api\AuthorizationConfig
     */
    public function getAuthorization()
    {
        return $this->authorization;
    }

    /**
     * Authorization configuration.
     *
     * Generated from protobuf field <code>.google.api.AuthorizationConfig authorization = 8;</code>
     * @param \Google\Api\AuthorizationConfig $var
     * @return $this
     */
    public function setAuthorization($var)
    {
        GPBUtil::checkMessage($var, \Google\Api\AuthorizationConfig::class);
        $this->authorization = $var;

        return $this;
    }

}

